FROM openjdk:8-jre

COPY ./target/litemall.jar /usr/app/
WORKDIR /usr/app
RUN sh -c 'touch litemall.jar'

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","litemall.jar"]